import request from '../utils/request'

export function getDynamic(params){
  return request({
    url:'/dynamic/dynamic/labelSearch',
    method:'get',
    params
  })
}

export function getFocue(params){
  return request({
    url:'/dynamic/dynamic/countAttentionUid',
    method:'get',
    params
  })
}
export function getHot(params){
  return request({
    url:'/dynamic/dynamic/descSearch',
    method:'get',
    params
  })
}
export function getNew(params){
  return request({
    url:'/dynamic/dynamic/timeSort',
    method:'get',
    params
  })
}
export function send(data){
  return request({
    url:'/dynamic/dynamic/send',
    method:'post',
    data
  })
}


export function getDydetail(params){
  return request({
    url:'/dynamic/dynamic/getMessageList',
    method:'get',
    params
  })
}

export function adjustFocus(params){
  return request({
    url:'/dynamic/dynamic/isfocus',
    method:'get',
    params
  })
}

export function addFocus(params){
  return request({
    url:'/dynamic/dynamic/focus',
    method:'get',
    params
  })
}

export function addDy(data){
  return request({
    url:'/dynamic/dynamic/pushComment',
    method:'post',
    data
  })
}

export function getUser(params){
  return request({
    url:'/dynamic/dynamic/getUser',
    method:'get',
    params
  })
}

